﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="CreateBullitin.aspx.cs" Inherits="pages_Bullitin_CreateBullitin" ValidateRequest="false" %>
<%@ Register TagPrefix="WebHome" Namespace="Bincess.Components.Web" Assembly="Bincess.Components" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>新建公告</title>
    <link href="../../css/style.css" rel="stylesheet" type="text/css"/>
</head>
<body>
    <form id="form1" runat="server">
    <script language="javascript" type="text/javascript" src="../../js/My97DatePicker/WdatePicker.js"></script>
    <table width="100%" align="center" cellpadding=0 cellspacing=0 border=0>
        <tr style="height:25px">
           <td style="background-image: url(<%=Page.ResolveUrl("~/") %>images/lb_14.gif)">
               &nbsp;&nbsp;<asp:Image ID="Image1" runat="server" ImageUrl="~/images/navi-home.gif" ImageAlign="Bottom"/>&nbsp;工作管理
               <asp:Image ID="Image2" runat="server" ImageUrl="~/images/navi-sep.gif" ImageAlign="Bottom"/>&nbsp;公司公告
               <asp:Image ID="Image3" runat="server" ImageUrl="~/images/navi-sep.gif" ImageAlign="Bottom"/>&nbsp;新建公告
           </td>  
           <td class="top_buttons_td">
                <asp:Button ID="butSubmit" runat="server" OnClick="butSubmit_Click" Text="保存" Width="38px" class="button_sky"/>&nbsp;&nbsp;
                <input type="button" name="Submit7" value="返回" onclick="javascript:history.back();" class="button_sky"/>     
           </td>  
        </tr>
    </table>
    
  <br/>
  <table cellpadding="1" cellspacing="1"class="tableForm" align="center" width="96%">
    <tr >
      <td winth="15%" class="table_label_head">
          标题:<asp:RequiredFieldValidator ID="rfdTitle" runat="server" ControlToValidate="txtTitle"
              ErrorMessage="公告标题不能为空!">*</asp:RequiredFieldValidator></td>
      
      <td winth="25%">
          <asp:TextBox ID="txtTitle" runat="server" Width="450px"></asp:TextBox>
          </td>
      
      <td winth="15%" class="table_label_head">
          有效期至:<asp:RequiredFieldValidator ID="rfdExpiryDate" runat="server" ControlToValidate="txtExpiryDate"
              ErrorMessage="有效期不能为空!">*</asp:RequiredFieldValidator></td>
      
      <td winth="25%">        &nbsp;<asp:TextBox ID="txtExpiryDate" runat="server" ReadOnly="True"></asp:TextBox>
      <img src="../../images/Calendar.gif" onclick="WdatePicker({el:$dp.$('txtExpiryDate')})" />
      </td>
    </tr>    
       
    <tr >
      <td class="table_label_head">
          内容:
      </td>
      <td colspan="3">
          <WebHome:WebTextPane runat="server" ID="txtContent" Width="512px" Height="240px"></WebHome:WebTextPane>
      </td>
    </tr>
    
    <tr>
      <td class="table_label_head">
          附件文件:
        
      </td>
      
      <td colspan="3">
          &nbsp;&nbsp;<asp:FileUpload ID="fileUpload" runat="server" Width="278px" /></td>      
    </tr>
  </table>
        <asp:ValidationSummary ID="ValidationSummary1" runat="server" ShowMessageBox="True" ShowSummary="False" />
    </form>
</body>
</html>
